<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ include file="../include.jsp"%>
<style>
.site-block {
	padding: 10% 20%;
	border: 1px solid #eee;
}

.site-text {
	position: relative;
}
</style>
<script src="${ctx }/static/js/qrcode.js"></script>
<div class="site-block site-text" id="qrcode">
	
</div>

<script>

//设置参数方式
var qrcode = new QRCode('qrcode', {
	text: "http://"+window.location.host +"/common/student/${courseId}/sign/${teacher.id}",
	width: 400,
	height: 400,
	colorDark : '#000000',
	colorLight : '#ffffff'
});
</script>